﻿using Microsoft.Xna.Framework;

namespace BattleFury.Layers
{
	public abstract class BaseLayer
		: ILayer
	{
		public bool IsVisible { get; set; }
		public bool IsEnabled { get; set; }

		protected BaseLayer()
		{
			IsEnabled = true;
			IsVisible = true;
		}

		public virtual void Update(GameTime gameTime)
		{
			if (!IsEnabled) return;
		}

		public virtual void Draw(GameTime gameTime)
		{
			if (!IsEnabled) return;
		}
	}
}